#ifndef AUTHORIZATION_H
#define AUTHORIZATION_H

#include <QDialog>
#include <qstring.h>
#include <QtSql/QSql>
#include <QtSql/QSqlDatabase>
#include "database.h"

namespace Ui {
class Authorization;
}

class Authorization : public QDialog
{
    Q_OBJECT

public:
    explicit Authorization(QWidget *parent = 0);
    ~Authorization();
    QString getLogin();
    QString getPassword();


private slots:
    void on_buttonBox_accepted();

private:
    Ui::Authorization *ui;
    QString login;
    QString password;

};

#endif // AUTHORIZATION_H
